From: Georges Basile Stavracas Neto Date: Wed, 12 May 2021 14:57:23 +0000 (-0300) Subject: workspacesView: Queue relayout when overview adjustment value change X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0ed1a363a37db5cf7c9d84f5d068a9cd36996503;p=gnome-shell.git workspacesView: Queue relayout when overview adjustment value change The overview adjustment quite significantly impacts the layout of SecondaryMonitorDisplay(), and this needs to be accounted for by queueing a relayout. Part-of: --- diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 6aa8b2615..1d03e3131 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -627,7 +627,10 @@ class SecondaryMonitorDisplay extends St.Widget { () => this._updateThumbnailVisibility()); this._stateChangedId = this._overviewAdjustment.connect('notify::value', - () => this._updateThumbnailParams()); + () => { + this._updateThumbnailParams(); + this.queue_relayout(); + }); this._settings = new Gio.Settings({ schema_id: MUTTER_SCHEMA }); this._settings.connect('changed::workspaces-only-on-primary',